package com.dangdang.sharding.listener.source;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dangdang.sharding.listener.event.Event;

@Component
public class UserEventPublisher {
	@Resource
	private ApplicationEventPublisher applicationEventPublisher;
	
	public void publish(Event event) {
		applicationEventPublisher.publishEvent(event);
	}
}
